package com.example.xpvideo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.xpvideo.entity.Commodity;
import com.example.xpvideo.entity.LsGoods;
import com.example.xpvideo.entity.res.CommodityDetailRes;
import com.example.xpvideo.entity.res.PHPCommodityDetailRes;
import com.example.xpvideo.entity.res.PHPCommodityRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/8/16 14:00
 * @description:
 */


@Component
@Mapper
public interface PHPCommodityMapper {
    List<PHPCommodityRes> PhpCommodityList(@Param(Constants.WRAPPER) Wrapper<LsGoods> ew);
    PHPCommodityDetailRes phpCommodityDetail(@Param(Constants.WRAPPER) Wrapper<LsGoods> ew);
}
